angular.module('wechat').service('wechatService', ['httpService', function (httpService) {
    return {
        dataList: function (name, params) {
            return httpService.get('?r=wechat/' + name + '/index&api=list', params);
        },
        contentList: function (params) {
            return httpService.get('?r=wechat/content/index&api=list', params);
        },
        keywordList: function (params) {
            return httpService.get('?r=wechat/keyword/index&api=list', params);
        },
        varList: function (params) {
            return httpService.get('?r=wechat/var/index&api=list', params);
        },
        configList: function (params) {
            return httpService.get('?r=wechat/config/index&api=list', params);
        }
    };
}]);